/*point.hpp
#ifndef POINT_H
#define POINT_H

class Point {
        private:
                int a;
                int b;
        public:
                Point(int a = 0, int b = 0);
                Point &operator = (const Point &p);
                void print();
};
#endif
*/

#include <iostream>

#include "point.hpp"
using namespace std;
Point::Point(int a, int b) : a(a), b(b) {}
Point& Point::operator=(const Point& p) {
    a = p.a;
    b = p.b;
    return *this;
}
void Point::print() {
    cout << "(" << a << "," << b << ")" << endl;
}